<%@page import="java.util.Date"%>
<%@ page language="java" pageEncoding="UTF-8"%><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>登录</title>
<jsp:include page="/admin/head.jsp"></jsp:include>
<jsp:include page="/admin/footer.jsp"/>
</head>
<style>
html {
	height: 100%;
	width: 100%;
	overflow: hidden;
	background: url(assets/img/reg_bg_min.jpg) no-repeat 0px 0px;
	background-size: 100% 100%;
}

.loginDiv {
	float: left;
	width: 460px;
	height: 400px;
	border-radius: 10px;
	background: gray;
	opacity: 0.8;
	box-shadow: 5px 5px 10px gray;
	margin: auto;
	margin-top: 100px;
	margin-left: 550px;
	padding-top: 40px;
	padding-left: 70px;
	padding-right: 70px;
	padding-top: 40px;
}
</style>
<body>
	<div class="loginDiv">
		<form class="pt-3 pl-3 pr-3" action="login.let" method="post">
			<div class="input-group mb-3">
				<div class="input-group-prepend">
					<span class="input-group-text"><i class="fa fa-user fa-fw"></i></span>
				</div>
				<input name="userName" type="text" class="form-control" placeholder="请输入用户名"
					aria-label="Username" aria-describedby="basic-addon1">
			</div>
			<div class="input-group mb-3">
				<div class="input-group-prepend">
					<span class="input-group-text"><i class="fa fa-key fa-fw"></i></span>
				</div>
				<input name="userPwd" type="password" class="form-control" placeholder="请输入密码"
					aria-label="Username" aria-describedby="basic-addon1">
			</div>
			<div class="form-group row">
				<div class="col-sm-7">
					<div class="input-group input-group-lg">
						<div class="input-group-prepend">
							<span class="input-group-text"><i
								class="fa fa-image fa-fw"></i></span>
						</div>
						<input name="code" type="text" required="required"
							class="form-control" placeholder="验证码">
					</div>
				</div>
				<div class="col-sm-5">
					<img alt="" src="code.let?w=102&h=48&len=4&v=<%=new Date().getTime() %>"
						onclick="this.src='code.let?w=102&h=48&len=4&t='+new Date().getTime();"
						style="width: 100%; height: 48px; cursor: pointer;"
						title="点击更换验证码">
				</div>
			</div>
			<div class="form-group row">
				<div class="col-sm-12">
					<button type="submit" style="color: lightblue;"
						class="btn btn-primary btn-block btn-lg">
						<i class="fa fa-power-off mr-1"></i> 登 录
					</button>
				</div>
			</div>
			<div class="form-group row">
				<div class="col-sm-12 text-right">
					<a style="color: lightblue;" href="./">首页</a> <a
						style="color: lightblue;" class="ml-md-4" href="./reg.jsp">还没有账号？</a>
				</div>
			</div>
		</form>
	</div>
</body>
</html>
